/<template>
  <div>
      欢迎{{token}}登录成功
  </div>
</template>

<script>

export default {
    data(){
        return{
            token:""
        }
    },
  mounted(){//本地存储  判断是否登录
      this.token=localStorage.getItem("token")
      console.log( localStorage.getItem("token"))
  }
}
</script>

<style>

</style>